package com.beiding.my.mql;

import java.util.List;

public abstract class MQLExecutor {

    NativeSql nativeSql;


    //查询一个
    public Object queryOne(Object... params) {
        throw new RuntimeException("不支持的操作");
    }

    //查询列表
    public List queryList(Object... params) {
        throw new RuntimeException("不支持的操作");
    }

    //查询第一个
    public Object queryFirst(Object... params) {
        throw new RuntimeException("不支持的操作");
    }

    //删除插入等操作直接返回受影响的数量
    public int exe(Object... params) {
        throw new RuntimeException("不支持的操作");
    }



}
